<?php

/**
 * Proizvod form.
 *
 * @package    marketing
 * @subpackage form
 * @author     Your name here
 */
class ProizvodForm extends BaseProizvodForm
{
  public function configure()
  {
      $this->widgetSchema['slika']        = new sfWidgetFormInputFile();
      $this->validatorSchema['slika']     = new sfValidatorFile(array('path' => sfConfig::get('sf_upload_dir').'/images/proizvod', 'required' => false));
      $this->widgetSchema['opis']   = new sfWidgetFormTextarea();
      unset($this['narudzbina_prozvod_list'], $this['konkurencija_proizvod_list']);
  }
}
